//
// Created by 17775 on 2024/9/13.
//

#ifndef RAYCI_POWERPROFILEDATARECEIVEQUEUEOBSERVER_H
#define RAYCI_POWERPROFILEDATARECEIVEQUEUEOBSERVER_H


#include "PowerProfileDataReceiveListener.h"
#include "AbstractQueueObserver.h"

class PowerProfileDataReceiveQueueObserver : public AbstractQueueObserver<PowerProfileDataReceiveListener, std::shared_ptr<PowerProfileData<std::vector<float>>>> {
protected:
    void notifyValueToListener(PowerProfileDataReceiveListener* listener, const std::shared_ptr<PowerProfileData<std::vector<float>>>& data) const override {
        listener->receiveMessage(data);
    }
};


#endif //RAYCI_POWERPROFILEDATARECEIVEQUEUEOBSERVER_H
